package whf.framework.ext.entity;

/**
 * @author wanghaifeng
 *
 */
public class DictItem extends whf.framework.entity.AbstractEntity {

	private static final long serialVersionUID = 0;

	private Category category;
	
	private int sortOrder;
	
	public DictItem(){
	}
	
	public DictItem(Category category, String name, String code){
		this.category = category;
		this.setName(name);
		this.setCode(code);
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Category getCategory() {
		return this.category;
	}

	public int getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(int sortOrder) {
		this.sortOrder = sortOrder;
	}

}